<?php
echo $form->create('FormActUser');
echo $form->hidden('FormActUser.form_act_id', array('label' => '', 'value' => $form_act_id));
?>
<table id="tabla" class="tabla">
    <tbody>
        <tr>
            <td><?php echo $form->input("FormActUser.rol", array('label' => 'Rol', 'options' => array('Panelista' => 'Panelista', 'Relator' => 'Relator'))); ?></td>
        </tr>
        <tr>
            <td><?php echo $form->input("FormActUser.user_id", array('label' => 'Nombre de la persona', 'options' => $usuarios)); ?></td>
        </tr>
        <tr>            
            <td><?php echo $ajax->submit('Guardar', array('url' => array('controller' => 'formActUsers', 'action' => 'add', $form_act_id), 'update' => 'content')); ?></td>
        </tr>
    </tbody>
</table>
<br><br><br>
<?php echo $ajax->link($html->image('regresar.gif', array('width' => '30', 'heigth' => '30', 'alt' => 'Regresar', 'title' => 'regresar')), array('controller' => 'formActUsers', 'action' => 'index', $form_act_id), array('update' => 'content', 'escape' => false)); ?>
